package org.ea4rct.ealog.core;

/**
 * Class that represents a QSO
 * 
 * @author Pablo Muñoz
 * @author Javier Cebri�n 
 *
 */
public class QSO {
	private String n;
	private String date;
	private String UTC_Time;
	private String callsign;
	private String RST_Sent;
	private String RST_Received;
	private String frequency;
	private String mode;
	private String power;
	private String comments;
	
	public QSO(String n, String date, String uTC_Time, String callsign,
			String rST_Sent, String rST_Received, String frequency,
			String mode, String power, String comments) {
		super();
		this.n = n;
		this.date = date;
		UTC_Time = uTC_Time;
		this.callsign = callsign;
		RST_Sent = rST_Sent;
		RST_Received = rST_Received;
		this.frequency = frequency;
		this.mode = mode;
		this.power = power;
		this.comments = comments;
	}
	
	public String getN() {
		return n;
	}
	public void setN(String n) {
		this.n = n;
	}
	public String getDate() {
		return date;
	}
	public void setDate(String date) {
		this.date = date;
	}
	public String getUTC_Time() {
		return UTC_Time;
	}
	public void setUTC_Time(String uTC_Time) {
		UTC_Time = uTC_Time;
	}
	public String getCallsign() {
		return callsign;
	}
	public void setCallsign(String callsign) {
		this.callsign = callsign;
	}
	public String getRST_Sent() {
		return RST_Sent;
	}
	public void setRST_Sent(String rST_Sent) {
		RST_Sent = rST_Sent;
	}
	public String getRST_Received() {
		return RST_Received;
	}
	public void setRST_Received(String rST_Received) {
		RST_Received = rST_Received;
	}
	public String getFrequency() {
		return frequency;
	}
	public void setFrequency(String frequency) {
		this.frequency = frequency;
	}
	public String getMode() {
		return mode;
	}
	public void setMode(String mode) {
		this.mode = mode;
	}
	public String getPower() {
		return power;
	}
	public void setPower(String power) {
		this.power = power;
	}
	public String getComments() {
		return comments;
	}
	public void setComments(String comments) {
		this.comments = comments;
	}

	public String[] getText() {
		return new String[] {n,date,UTC_Time,callsign,frequency,RST_Sent,RST_Sent,mode,power,comments};
	}
	
}
